import { lazy } from "react"
const Search = lazy(() => import("../pages/Search"))
const Detail = lazy(() => import("../pages/Detail"))
const router = [
  {
    path: '/',
    element: <Search />
  },
  {
    path: '/detail',
    element: <Detail />
  }
]
export default router